<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><s:text name="site.list.title"/></title>
	<%@ include file="/common/meta.jsp"%>
	<%@ include file="/common/common.jsp"%>
</head>
<div id="wrapper">
<form>
<body>
<div class="curmb"><div class="curmb_css">您现在的位置：<a href="#">首页</a><span>></span><a href="#">站点管理</a></div></div>
	<div class="listtit" id="listtit"><p><span><strong>站点管理</strong></span></p></div>
	<div class="proweroperate">
		<span class="space20"></span>
		<span class="rolename">温馨提示：<span class="siteprompta">为禁用站点，</span><span class="sitepromptb">为启用站点。</span></span>
	</div>
	<div class="listboxb" id="listbox">
		<div class="siteuse">
		站点&nbsp;<font color="#457d07" size="5"><s:property value="siteName"/></font>&nbsp;已经禁用<br/>
		<s:hidden name="site.siteId" id="siteId"></s:hidden>
		
			<s:if test="%{authLicence('2_2_1',site.siteId)}">
				<input type="button" class="siteusebtn" value="&nbsp;"  onclick="startUse()" />
			</s:if>
			<s:else>
				<input type="button" disabled="disabled" class="siteusebtn" value="&nbsp;"  onclick="startUse()" />
			</s:else>
		
			<p class="siteusetext">点击“启用”按钮，即可启用选中的禁用站点</p>
		</div>
	</div>
</form>
</div>
</body>
</html>
<script type="text/javascript">
	//改变启用状态，并显示站点信息
	var siteId = $("#siteId").val();
	function startUse(){
		var url=self.parent.leftframe.goStart(siteId);
		window.location.href=url;
	}
</script>